package com.jmb.api.vo.module;

import io.swagger.v3.oas.annotations.media.Schema;
import jakarta.validation.constraints.Max;
import jakarta.validation.constraints.Min;
import jakarta.validation.constraints.NotBlank;
import jakarta.validation.constraints.NotNull;
import lombok.Data;
import org.hibernate.validator.constraints.Length;

import java.util.Date;

@Data
public class ModuleUpdateVo {
    @NotNull
    @Schema(description = "模块id")
    private Integer moduleId;
    @NotBlank
    @Length(max = 10,min = 1)
    @Schema(description = "模块名称")
    private String moduleName;
    @Schema(description = "模块描述")
    private String desc;
    @Schema(description = "修改时间")
    private Date updateTime;

}
